#!/usr/bin/env python
# _*_coding:utf-8_*_

"""
@Time :    2019/10/13 9:26
@Author:  ThinHeader
@File: common_tools.py
@Software: PyCharm
"""
import random


def gen_id_number(number):
    """生成唯一的用户ID"""
    return random.SystemRandom().randint(10 ** (number - 1), 10 ** number - 1)
